@import "./main.less";

.title{
  font-size: 16px;
  margin-top: 60px;
}
.address-section{
  margin-top: 15px;
  padding-bottom: 15px;
  border: 1px solid #E8E8E8;
  .address-list{
    line-height: 48px;
    padding-left: 15px;
    padding-right: 15px;
    color: @common;
    font-size: 14px;
    label + label{
      margin-left: 60px;
    }
    border-bottom: 1px solid #e8e8e8;
  }
  .new-address{
    overflow: hidden;
    .select-new{
      padding-left: 15px;
      font-size: 14px;
      margin-top: 25px;
      color: @common;
      margin-bottom: 10px;
    }
  }
  .radio-label{
    span{
      vertical-align: middle;
    }
  }
  .add-address-form{
    display: none;
    overflow: hidden;
  }
  .form-group{
    padding-left: 37px;
    margin-top: 10px;
    .label{
      width: 70px;
      float: left;
      color: @common;
      font-size: 12px;
      line-height: 30px;
    }
    .form-control{
      width: 120px;
      height: 30px;
      border: 1px solid #e8e8e8;
      padding-left: 5px;
      padding-right: 5px;
      box-sizing: border-box;
    }
    .address-detail{
      width: 300px;
      height: 56px;
      resize: none;
      border: 1px solid #e8e8e8;
      box-sizing: border-box;
      padding: 5px;
    }
    .address-tel{
      width: 310px;
    }
    .error-message{
      font-size: 12px;
      color: #F56C6C;
      display: inline-block;
      background-image: url("/img/error.png");
      background-size: 14px 14px;
      background-repeat: no-repeat;
      background-position: left center;
      padding-left: 16px;
      margin-left: 10px;
      display: none;
    }
    .form-control-select{
      width: 75px;
      height: 30px;
      border:1px solid #e8e8e8;
      background-color: @white;
    }
    .add-new-address{
      margin-left: 70px;
      span{
        font-size: 12px;
        color:@common;
      }
    }
    .add-address-btn{
      width: 160px;
      height: 30px;
      font-size: 12px;
      color: @white;
      background-color: @blue;
      border:none;
      cursor: pointer;
    }
  }
}

.order-title{
  margin-top: 30px;
}

.order-section{
  margin-top: 15px;
  border: 1px solid #e8e8e8;
  .shop-info{
    padding-left: 15px;
    padding-right: 15px;
    height: 45px;
    background-color: #d2eef5;
    display: flex;
    align-items: center;
    p{
      font-size: 14px;
      color: @common;
    }
    img{
      margin-left: 9px;
      width: 16px;
      height: 16px;
    }
  }
  .order-info{
    padding: 15px;
    height: auto;
    overflow: hidden;
    .order-title{
      font-size: 14px;
      color: @grey;
    }
    .table{
      width: 1060px;
      float: right;
      >table{
        width: 100%;
      }
      thead tr{
        height: 45px;
        line-height: 45px;
        background-color: #F9F9F9;
        font-size: 14px;
        color: @common;
        border: 1px solid #e8e8e8;
        th{
          text-align: left;
          padding-left: 15px;
        }
      }
      tbody tr{
        border: 1px solid #e8e8e8;
        border-top: none;
        .product-logo{
          width: 80px;
          height: 80px;
          float: left;
        }
        .order-detail-right{
          width: 224px;
          height: 80px;
          float: left;
          margin-left: 15px;
          position: relative;
        }
        .product-desc{
          font-size: 14px;
          color: @common;
          line-height: 18px;
        }
        .type{
          position: absolute;
          left: 0;
          bottom: 0;
          font-size: 14px;
          color: @grey;
        }
        td{
          padding-top: 19px;
          padding-bottom: 36px;
          font-size: 14px;
          color: @common;
        }
        td + td{
          padding-left: 15px;
          vertical-align: middle;
        }
      }
    }
    .order-detail{
      padding-left: 15px;
      height: 80px;
    }
    .table-total{
      height: 92px;
      border: 1px solid #e8e8e8;
      border-top: none;
      padding: 15px;
      box-sizing: border-box;
      position: relative;
      .form{
        label{
          font-size: 14px;
          color: @common;
        }
        input{
          width: 416px;
          height: 30px;
          color: @grey;
          padding-left: 10px;
          padding-right: 10px;
          box-sizing: border-box;
          font-size: 12px;
        }
      }
      .total{
        position: absolute;
        right: 15px;
        bottom: 15px;
        text-align: right;
        font-size: 14px;
        color: @grey;
        p:first-child{
          margin-bottom: 15px;
        }
        span{
          color: @blue;
          margin-right: 5px;
        }
      }
    }
  }
  .jiaoyileixing{
    height: 45px;
    padding: 15px;
    border-top: 1px solid #e8e8e8;
    font-size: 0;
    label{
      font-size: 14px;
      color: @grey;
      margin-right: 7px;
      line-height: 45px;
    }
    span{
      display: inline-block;
      width: 200px;
      height: 45px;
      text-align: center;
      line-height:45px;
      border: 1px solid #e8e8e8;
      font-size: 14px;
      color: @common;
      vertical-align: top;
      cursor: pointer;
      
    }
    span.active{
      background-image: url("/img/select_icon.png");
      background-repeat: no-repeat;
      background-size: 15px 15px;
      background-position: right bottom;
      border: 1px solid @blue;
    }
    span+span{
      margin-left: 30px;
    }
  }
}

.total-section{
  margin-top: 30px;
  height:128px;
  background-color: #d2eef5;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
  .total-right{
    text-align: right;
    font-size: 14px;
    p:nth-child(1){
      color: @common;
    }
    p:nth-child(2){
      margin-top: 15px;
      color: @common;
    }
    p:nth-child(3){
      margin-top: 29px;
    }
    span{
      color: @blue;
      margin-left: 5px;
      margin-right: 16px;
    }
  }
  .total-left{
    position: absolute;
    left: 15px;
    top: 15px;
    color: @common;
    font-size: 0;
    span{
      font-size: 14px;
    }
    span+span{
      margin-left: 30px;
    }
  }
}

.total-price{
  margin-top: 47px;
  text-align: right;
  font-size: 18px;
  span{
    color:@blue;
    font-size: 24px;
    margin-left: 10px;
    margin-right: 29px;
  }
}
.btn-group{
  margin-top: 20px;
  margin-bottom: 185px;
  text-align: right;
  .submit-btn{
    width: 230px;
    height:70px;
    background-color: @blue;
    color: @white;
    font-size: 18px;
    border:none;
    cursor: pointer;
  }
}